#ifndef MESSAGEHEADER_H
#define MESSAGEHEADER_H
#include <vector>
#include "DataTypes.h"
class MessageHeader
{
public:
    MessageHeader();
    void setTwoByteHeaderAvaliable(bool twoByteHeader){twoByteAvaliable = twoByteHeader;}
    void setMessageLength(size_t length){length_ = length;}
    void setAddress(PartiesAddresses addr){addr_=addr;}
    Data getRawBytes() const;
private:
    bool twoByteAvaliable;
    size_t length_;
    PartiesAddresses addr_;

};

#endif // MESSAGEHEADER_H
